remove some dead code, disable debug prints