fixed some typos and expressions