wrong place to check for null