fix store bug