Fix url direction