more explicit check for production