error output fixed