Remove useless code of debug