Fix storing of data.