search bar

a lot of errors and bugs. i hope i ll fix them soon