updated render return to make sure displays html properly