fix bug of static page and dynamic widget