dev mode fix