added debug flag for resolve