fix for positions, tests for localities