remove extra then