remove extra spans