fix scripting bug