Fix the bug of multiple upload pictures