Removed whitespace detection