attempt to fix threadsafety issues in writer
bump version