fixed setting the value for version