fix move to chai