fix data creation