allow transform block to return nil