ensure the pstore is valid before using it