added overriding of flex metafields