$.mobile.pageContainer.pagecontainer("change", url, {reloadPage}) is not removing the existing page?

$.mobile.pageContainer.pagecontainer("change", url, {reloadPage}) is not removing the existing page?

if i do $.mobile.pageContainer.pagecontainer("change", "somepage.php")

and sompage's data-dom-cache="true" and has a page div id="myid"

now go back to the from page,

"#myid" is in the dom because data-dom-cache="true"

now do

$.mobile.pageContainer.pagecontainer("change", "somepage.php", {reloadPage:true})

from my understanding, this should remove the contents of "#myid", basically do $("#myid").empty()

and put the new content into "#myid",

but jqm does not empty "#myid" instead it inserts another div with the same id "#myid" into the dom.

now the dom ends up with two div's with the same id.

it will display the new div, but all the callbacks like $("#myid").one("pagecreate", function(){}), etc. will stop working.

is this a bug? or am i missing something?

thanks for any comments