fix parsing, if wrapped element is null