bugfix: default flag wasn't being set appropriately for the element types.