fixing two small syntax errors