Removed the backslashes of endpoints