diamond operator fix, IDE warnings note