get some types right [skip ci]