removing direct path references