debug statements to find why lease is not working