improved error message
LDC-21 #resolve