fix menu problem for DefaultPageListener