Minor cosmetic remove redundant core option + fix warning