fix debug prints