remove the / in the location to avoid http 404