Fixed bug with stored data.