Fix dev mode