fixing production nil class error
production deployment issues, i think.