normalize status_fn handler