maybe this will fix the rendering errors