Fixing bug in field.rb.