script bug