fix spelling and syntax bug