fixed issue with writer picking up file before it's there.. fixed issue with atom inconsistency