fix need double click to change page