use html() instead of text()