fixed bad usage of is_anon