added debug to production