small bug in previous commit, correctly reference page class