syntax check: avoid ending statements with semicolons