change api for action.open