fix "Deadline exceeded" bug