make web env work
minor style changes