Fix incorrect assignment