fixed routes so that they can use regex