access check bug fixing