fixed storage preference issues