url fix for aws