added a preventRoute wildcard alternative