fixed bug with dispatcher log directory creation