fix dateparser can not parse boolean