fixed issue with skipping first line