remove unneeded warning guards