cleaned variables in controller