make it work with ransack