fixed ex2/3 for structure test.