remove $ for endpoint pages