fixed lame visit bug