deal with location when pack node