fixed switch language bug