fetch the type list every time the view is re-intialized