Fixed the stupid parent() bug.