class WriteBatch timeout bug fix and class Elevator clean