rendere optimization and fixes