get a number instead of a hash to temporarily fool the server
several fixes so the almighty server will accept our humble request to create a new location