fix scripting sandbox