delete extra strings