Removes extra closing tab