fix uploads