fixing error output. correcting paths