fixed some variables and made born_spec tests pass