update spa min block;add more debug