Corrected getPose