Fixed a bug in computePage with the help of SAS people