remove top-level path