fix appendContent