Fix page display bug