fixed a bug in access testcase