wrong URL being generated. this is cargo cultish, but I'm wasting way too much time with this gem