Fix bug in hashcode and meta-env