Shorten the path depth for src