Fix compatibility with older PS versions