fixing up bug where no params would prevent route from being registered