fixed posting issues for main page.