clean up of hammerhead