remove some redundant code in actionmanager