Saner group creation, bug fix in I/O