fix image url string construction