make rendering manager better