print output on command failure
fix standard apps error