fix(dev_util): restore removed code from dev_util

93ed764 accidently removed some code, restore it.