Remove unecesary call to setlocal that n some systems could generate a error