fix dashboard access_fn