fixed retirement_sims query