auth check fix