fix skipping lines