fix a bug in loading interaction hierarchy