reverting changes in fi_endpoint