fix image resize cache problem