fix image path bugs