clean debug helper