Fixing whitespace checks