Error blocks are calculated correctly now