fixed authenticate filter