Fixed bug returning html