update skip_line check condition to avoid a whole line with import and other both from skipped