Uneven extrusion


Hi, lately my first layers have been coming out like this, specially the brim layer getting gaps all over the length, this only happens on the sides of the print, and the infill ends up very weak closer to the walls of the print, any suggestions?