Fixed annoying parent bug