move comment above the `if`