fix scripting console