debug get position