made sspfd_num_stores extern and volatile