fixed some syntactic issues.