fix endpoint name overwrite