rL variable with running instances list has not been defined before usage