fix add squad entry bug. fixed search bug