fix crash when parse bool but received null