fix block calculation issue