remove compatibility modes