revert the change in apps.r