Checking length of path before using it