Fix block util returning invalid material string