1. -Fix a crash bug of delete components.