removed error in search