save mode and status #79 close #80