fixing sites admin edit syntax issue