remove bug at schedule table <C code side>