fixed if statement [line 2].