Fixed error outputs