fix bug for ActiveModel::ForbiddenAttributesError