Changed outputting html code