added guard in http-debug set