Fix #107 parent bug