fixed up all the rendering compiling issues