remove warnings and unneeded pr_infos