Fixed issue with empty version