bugs fixed in code webservice