Fixed sear problem with gallery 3.0.5