fix indentation and last tag