fix numberOfStatements