mixin element only once
convert an empty attribute to true