fixed routing bug.some experiments with media links