fixed method call syntax error