move basic type variables to typeregister