fixing the order that the action occurs in feature listar_atendimento