Fixing invalid whitespaces.