dont allow var with null type