LUA API bug fix
HTML bug fix