fixed empty string value not parsed.

hope this is correct and works