remove debug from handler