debug print cleanup