fix image path bug