set null value in every case