fixed crash on scriptBrick delete (I hope the last one)