Unable to work static env