set default controller as pub