fix access check issue