fixing error cases
fixing error case again with more output