Fix useless url config
Better error messages