fixed small bug now showing pages