fixed error in wrap executable