fix: race in block creation