removed unneeded lines from root controller