Update apps.php

bug fix