version checks to stop some things from breaking