fix #26 double page issue