fix dialyzer warnings