appendTo causes too many issues