fixed small syntax errors