Fix web server service logic