fix image location problem