Removed dead code from UI