added function to know flavor ID correctly un the admin resource