fix some on type for dialyzer