fix in main.xhtml