fix handleNodeEvent nodes slice not realloc bug
fix ketama panic when nodes length is zero