fix last commit and scheduler method don't support codebase