fix ganam writer