fix nasty crash as it tries to parse an empty string