remove debug handler