Fix typos in rest