adding removing dir if exist