minor change in wp script