fixed upload pic error