fixed bug where endpoints wasn't showing up