fixed exceptions while parsing empty attribute value
more fixes in empty parameters value parsing