Fixes bug with output after error