aws upload working correctly