fixed env test error