couple of apps detection fixes

You don't need the brackets at this line and at L1665.