removed unused variables and imports in controllen package