fix bug in data initalization