- fix in next visit error check