add clearSeenErrors() function in router