fix prepending to not rewrite DOM