add prepend and append defaults