important bugfix in init_data