small fix handling versions