code style: add space between if and (
throughout