fix ButtonManager.as