fix append / prepend