fix prod environnement bug : dump function does not exist in prod, so don't let it in prod