fix null exception when avls connect call back