position refactoring remove embedded grid reference