[fix] switch on env