Fix pic upload