fixing public/output ignored
fixing typo and closing tags