Fixed error reporting bug