fix getBlockS bug