fix build issue, but does not type check