remove useless debug information