missing ws `if (` and at some more places below