clean up unuseful code