removes broken a*
adds recursive dfs