Fix upload picture issue