remove unnecessary debug info