Fixed exec issue