minor bug in data script