failing on production and can't figure out why