Fixed bug in _denyAccess