rollback some code to before debugging