fixed production.rb file and paperclip.rb file