instruction clean up