fix page width
fix undefined memory