Fixed bug with executable