Fix dialyzer errors coming from emas usecase