deactivating debug mode on production