code and asset cleanup