Fixed compile error Exec has bug