fix safe city for new data formats and host