Bugfix: leftover reference to controller Main