fixed search engine. still buggy
some minor doc