few fixes in example use case, metadata uploads fine