updated TODO list
fixed bugs in the search query