Adding some debug statements, these values are being reset
debu