fixed for script-tb