ensure default value for page number