improved error reporting
build with improved error reporting