fixed syntactic errors