workaround for boolval