fix delete selection