fixed print page and add dive error