fixing upload