Fix for non existing directories in link