check if latest version $p is present, else 404