add struct decl, fix check_stmt