Metadata can not be modified bug fix