Could move this if statement before line 94.