switch from dev mode