fix #2 accessBlock bug