temp fix for undefined add_index_url error