Fix: block names with hypens are not resolved correctly.