Controller: faulty require order