fixes on uploads