Fixed removed dir issue