check for nil account