Removed unnecessary writes