Fix localepurge issue