Deleted not used variable
Fixed core controller router