cleanup all the code