fix(parser): handle empty strings