fixed bugs in nested pages and google maps widget