Fix some HTML bugs