removed uneccessary debug printouts from resolve code