Fixed mysql problem and getHtml secure problem