fix parser value check bug.

value shall not be None but can be empty string