Fixed error when program failed and no return variables where returned.