fix for async (promise) writers