fix autoControllerAction logic