fixed activites error