updated error in production file