Fixed lr format issue, lrdel variable issue