Update controller.php

fix previous commit