small fix for getting block size