fix aborting operation