remove commented code in controller