fix ransack