parent to typeactivity