Fixed checkAccess call