unified return null usages