added further debug info in resolve