Fixed HTML processing, remove logs