search and some other functions are displaying errors
@Flengo