Update Controller.php

I think it's more expected behavior