Fixing linebreak-check