Bugfix, missing assignment and render