fixed whitespace bug introduces by LOCATE changes