=fixing some bugs in web serving