clean up some code code