getPosition fix