Fix dialyzer errors