fix last enter instruction pointer