Fix chai helper.