fixed last tutorial in controller