fixed docs in controller