nit: extra space in `if`