fix bug on locale page