web service fixes (issue #10)