bool=>int, allow