cleanup. remove some debug prints