refactor(simulator): remove unneeded type casting