Fixing parent bug