fix get provider functions to return not_found if none
remove format_error callback