bug fixed na consulta