Why the path is applied twice here and in the previous line ?