write lock free fix (perhaps)