cleaned debug print