Fix bug when calling custom creators