fix for NumberFormatException in the Webservice