fixed ransack method