validation of null values