fixed patient L2000c loop