fixed bug: added page number and unset