fixed abort added inc to write modes