add delete check and disable check