Get<type>s implementation not correct