a quick bugfix to make the script not crash if there's no delta.