fixed metadata.rb