create script bug fixed