fixing bug that causes forever script to die