fix bugs in adding execution path