Fixed check version flag