fixed errors in syntax