use OpenStruct when advance search