Fixed parent bug