clean up output of status function
fix fail function output
test for pkg string before testing for pkg