correct version check