fix image scale