fix page control bug