add emit access_denied