added another catch for empty versions