remove an unnecessary assign in kmp