fix for a wrong specified *.loc file