Fixed small bug in webserver