handling . and .. in ZNodeLabel