Bug in dev mode

Fixes but for dev mode method