added struct parser
avoid passing undef to parsers