call expand() if the argument is a controller object