fixed a few bug for quicksearch and updated setup