fix apps bug