Fixed appendTo