Fixed some problems with html elements.