defined defaults for some null variables