Fixed parent-bug