corrected many syntax errors with cinder