fix bugs about gene deletion