fix bugs for cms multi languages