fixing main.xml