fixed share button problem and metadata