fixed issue with routes by adding paths instead of stars