fix a bug with struct or class