Are they broad bands? if so, it just needs levelling horizontally. If there are single-pixel "scratches", probably the tip skipped as it was scanning the sample (maybe the feedback was not perfect, or it encountered a movable obstacle on the surface). You can't really fix this after finishing scanning, it's best to stick with what you've got, or re-scan the image. If you are still scanning, try changing feedback and or setpoint parameters, or clean the sample. If the image has already been processed, horizontal lines surrounding elevated features are probably an artifact due to horizontal levelling. This is explained further in my book, but to avoid this artifact, exclude the features from the fitting when levelling. You can also use another levelling algorithm such as a plane-fit.