make list controller constructor not have side effects