fixed a bug of multiple anchor nodes