changed max apps to 2.