fix type get_if_exists