fixed method call syntax errors.