fix path in upload