close debug and clean println