cleaned target and log directory