fixed tolocal method