some fixes to directory keyword searches
fix the missing brace before pushing