error reporting bug fixed.