malformed `if` construct debugged