refactor and fix list controller and specs