add pydoc for controller
fix the conflict