fixed reading wrong file for version check.