check property is not null before databind