fix #139: do not redirect and show error when just checking