allowed for older versions of railties