Review fix of gohai

use dict instead of getattr and stator