fixing setup for simulation