remove specific path info