Bug fix to remove leading slash from the page class var