look like we need to optimize useModeClient, let me learn about this project and do the best to optimize it.