Trying to fix image's bug