Fixed 'skip lines' functionality