[fix] major fail, use dev only in  production