added retina x adaptive support