deleted some dead code
fixed bug: display page used to only display default location, now it's displaying the correct location