adding path limits to pathl and pathr libs