Bug fix Logic execute lost flag.