fix a bug : middleware work for all url