consertando diamond operator bugs