fix bug for displaying page id