fixed an invalid store