Fix bug for customActions