fixed checkAccess calls