some cleanup
credit debugging