blocks: fix reset order