Fixed incorrect variable in creator generation.