make version cmd work correctly