fixed rendering

updated rendering to the new system