Fix debug_name for policies