nit: add a space after `if`