fixed constructor not null