in the old code, the echo out page elements will be overide by '$response->addHTML'

this issue has been fixed in this pull request