fixed: PHP undefined index warnings in web_services.php