Fix language type