fix image path problems.