clean up extra code