Fixed a bug in location page