register fix, register activity