rm BooleanType from import