handle better paths change