repair upload thumbnail bug