debug print fix