Error detecting project version

worked like a charm