html corrections and cleanup