fix dialyzer warnings in #82