LEI: fixed deallocation problem for consecutive job