fix link upload