fix for async process