add hack to fix image url potential issues