fixed print debug