fixed model/controller mistake