I guess this condition can be moved to line 233.