fix lint errors in invariant
build hintable