make sure we only try to write atoms

close #557
reduce logging