remove unneeded debug modules