fixed the step back process.