fix a bug in the bootstrap migration from 2.x to 3.0, label-badge