Change booleans to proper type