app:greeter:: fix a logic error