hack for dealing with the different stat versions