fixed routing issues with locale