add back check for unknown type