finally fixed the damn url pattern