fixed a bug with missing traling slashes in endpoint server