a few changes to web code mainly