minor bug fixes and css styling update