fix bug in read_struct of cybin

@lxyu