Fixed errors and typos