fix aws url and path setting