workaround delete selection mode issue