fixing syntax error in creator.php