indentation corrections
removes extra closing div