Getting error on production about eval nil, so checking for nil before trying to eval.