Fix files upload