fixed doctype for validation on template
removed unused imports