fixing select field nullability