restore menu and main page layout after deploy