fixed naming collision with useImm