fix missing required elements