fix bug with visit path in Mink