Fixed a potential compatibility issue