bool to boolean fixups for type files