fix issue with 'choose page' button