revert code in privatezone