fixed up rendering