avoid using @record in search helpers