Fixing upload not saving properly.