Fix if condition on line 90