Update Controller.java

it was necessary to check locally