close proper tag