bug fixes
walk up reference chain
forgot migration