fixed dualpage bug