fixing the activity