Fixed None.get exception.