fixed render issue upon delete