Page getLocation fix