removed required from some unnecessary attributes in source.rb