helper method wasn't working in prod