insertAfter, insertBefore fix.