fix image size to match.