fix multiple controllers