fix running local shell command
fix removing failed jobs