Fixed 2 dialyzer warnings