Fix a crash bug

It is caused when not initialized vector value is used as condition.