fix execution of deploy