fixed getting and setting of page status