fix on the script initializer