clean up execute code