bugfix and update to docstring in find_controller