used more broad regex for the fakepath issue solution