fix poll auth return check