fixed showing register activity