Fixed addBefore and addAfter