added more output in def errors