fix some invalid pages