parser fix for empty strings