fixed dialyzer warnings