fixed routing working with dynamic routes