try fixing url building for herokuapp