one more fix of dev mode