Fix app sync issue introduced earlier