fix wrong simulation class due to careless refactoring