fixed error in metadata.rb