Fixed output errors