fix bug in data