Corrected clearOxP functions