deleted useless endpoints