Update Controller.php

Fix #1