fixing the broken simulator