formatting changes to improve html rendering