Fix warning in creator